<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>

<h2>Login</h2>
<html:errors/>
<html:form action="/loginaction">
    <table>
        <tr>
            <td>Username:</td>
            <td><html:text property="username" size="30" maxlength="30"/></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td><html:password property="password" size="30" maxlength="30"/></td>
        </tr>
        <tr>
            <td colspan="2"><html:submit>Login</html:submit></td>
        </tr>
    </table>
</html:form>
